/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tomasio.projects.lua.dao;

import com.tomasio.projects.lua.exception.DAOException;
import com.tomasio.projects.lua.model.Group;
import java.util.List;

/**
 *
 * @author fernandofot
 */
public interface GroupDAO {

    public String create(Group group) throws DAOException;

    public void remove(String uid) throws DAOException;

    public void update(Group group) throws DAOException;

    public List<Group> findAll() throws DAOException;
    
     public List<Group> findAll(String applicationUID) throws DAOException;

    public List<Group> search(String term) throws DAOException;
    
    public Group find(String uid) throws DAOException;

}
